package com.github.pig.admin.mapper.sys;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.github.pig.admin.model.entity.SysCommunityUser;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lxm
 * @since 2018-06-29
 */
public interface SysCommunityUserMapper extends BaseMapper<SysCommunityUser> {



    /**
     *
     * 根据用户id获取小区用户关联集合
     * @param userId
     */
    List<SysCommunityUser> getCurrentUserCommunityId(Integer userId);

}
